package com.saa.common.interceptor.service;

import com.saa.system.dao.SaaSysLogDao;
import com.saa.system.po.SaaSysLog;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service
public class LogInterceptorService {
    private Logger LOGGER = LoggerFactory.getLogger(this.getClass());
    private SaaSysLogDao saaSysLogDao;

    /****
     * 保存系统操作日志
     * **/
    public void saveSysLog(SaaSysLog saaSysLog){
        saaSysLogDao.insert(saaSysLog);
    }
}
